package com.blacksea.authserver.dal.enumclass;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 * CodeStatusEnum
 *
 * @author blacksea3(jxt) 2021/4/11 19:38
 */
public enum CodeStatusEnum {
    VALID(0,"VALID"),
    INVALID(1,"INVALID");

    int code;

    @EnumValue
    String val;

    CodeStatusEnum(int c, String v) {
        code = c;
        val = v;
    }

    public int getCode() {
        return code;
    }

    public String getVal() {
        return val;
    }
}
